<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="layout" content="bocMain"/>
    <title>进件作业系统</title>
</head>
<body>

<g:form method="post" action="fraudDecisionSuccess" class="myform">

    <input type="hidden" id="id" name="id" value="${this?.opportunity?.id}">
    <input type="hidden" id="result" value="${this.result}">
    <input type="hidden" name="type" id="type" value="${this?.type}">
    
    <div class="inVerification">
        <div class="loading-info">
            <asset:image src="boc/loading.gif" class="loadding" alt="loadding"/>
            <p>
            初步审核中，请您耐心等待...
            </p>
        </div>
    </div>
</g:form>
<g:form method="post" action="fraudDecisionFailed" class="myform1">
    <input type="hidden" id="id" name="id" value="${this?.opportunity?.id}">
</g:form>
<script>
    $(function ()
    {
        setTimeout(function () {
            var result = $("#result").val();
            if (result == "通过" || result == "转人工"){
                $(".myform").submit();
            }else {
                $(".myform1").submit();
            }
        }, 3000);
    });
</script>

</body>
</html>
